package com.neusoft.elmboot.service.impl;

import com.neusoft.elmboot.mapper.UserBusinessMapper;
import com.neusoft.elmboot.po.Business;
import com.neusoft.elmboot.service.UserBusinessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserBusinessImpl implements UserBusinessService {
    @Autowired
    private UserBusinessMapper userBusinessMapper;

    @Override
    public List<Business> getBusinessIdByUserId(String userId){
        return userBusinessMapper.getBusinessIdByUserId(userId);
    }
}
